moved javascript to subfolder
new path + function for js files
fixed broken editor
beautified javascript