Auto remove trailing spaces and "jshint" the file
Fix duplicated call of POI.destroy
Revert popup size changed for testing