Got basic javascript to work