JavaScript universal module boilerplate