remove base view from javascript views