Starting to abstract some common patterns in the js views
Issue removal/bugfixes