Created a base view js to rule them all