moved javascript files to js directory