mapedit work

-fixed issue where rotation value would not reset on page load
-cleaned up code references
-fixed issue where google was defined twice
-fixed issue where google was not defined for jslibrary
-fixed rotation save issue