added js and motes