added angularjs 1.0.8 + corrected script file-exists check