fixed little coding convention nitpick
implemented on demand loading of scripts