added basic javascript player (not yet functional)