switch between js and coffee