make jusk compatible with haskell2010

hello, motemen,
I'm just interested in your javascript interpreter in haskell, but found It cann't work well with my haskell 2010 platform.
So I have fixed some place in your code to make it work. Sincerely hope you would merge it.