My template for designing JavaScript applications