Moved UI scripts to separate files
Cleaned up SVG handling for UI
Minor script cleanup
Merge pull request #1 from karoun/master

Script cleanup -- dynamically displaying relevant floors, better JS style