Refactor

Refactored the specs and added in missing alerts in layout
empty boiler plate, can be removed. same for all other empty js assets