Splitted code and setting objects prototypes
Merge branch 'master' into polyfill

Conflicts:
	tosource.js