cleans up js folder
syncs using the ntp algorithm