adding javascript file templates