Added basic JS code