moved scripts into seperate file, imported jquery

cleaned up html file