minimalist javascript boilerplate