moved initialize of map to the view and deleted test.js

what it says