Create rclick-directive.js