create basic javascript