How to include javascript file in a new course format?