Script for requirejs in single pages