modified js and coffee with instructions