Template for creating javascript libraries