JavaScript class boilerplate for quick start