Moved javascript to js folder