Adds javascript snippet for requirejs's define.
Ignores files.