Edit index page, start writing JS funcs.