add how to compile javascript