Add multiple javascript and templates