updating directive code file to play nicely with minified js