initial work on javascript slides

not finished yet, but could be merged