Browserified dexa directives and improved some functionality