Added javascript. Improved based on comments.
1 file changed