How to compile js?