Easily control your videos using javascript