adding template and custom js