BAI: moving js to new directory