A boilerplate for building JS component