Fixing scope errory by uglifying js
final v1