Fixed browse button.
Added isFlippedX/Y condition for sprites.
Added unfinished implementation of JSCodeEvent.