pong to Sly: some changes to index and js