make jusk compatible with haskell2000

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