put homepage js in one file, add map div