Added basic javascript