updated for custom js file