Added basic JavaScript