Peter Pan is a fictional character created by Scottish novelist and playwright J. M. Barrie ( 1860 â `` 1937 ) . Peter Pan is a character created by Scottish novelist and playwright J. M. Barrie ( 1860 â `` 1937 ) .