more work on js : drawshader compiles (not yet tested), added texture wrap support
added isDown/isPressed/isReleased