Cleaned up JS
Changed  naming from view to area