Fix bug of js()

I found a similar bug like css()'s, I'm not sure this problem will occur at some other place.
Merge pull request #194 from tang3w/patch-1

Fix bug of js()