replacing getScript() jquery method by loadJS() method - closing #261
replacing getScript() jquery method by loadJS() method - closing #261