put js in the right direction