Fixed a bug the the enqueueScript() method did not work.