allow for setting own views ext e.g .js