Scaffolding JavaScript files

Don't know why, but these didn't make it into the last commit.