Fixed jQuery 1.x support for collapsed inlines script