javascript sidescrolling shooter