JavaScript can double your codebase so make sure you need it first