switched to use compiler js file