add a view js