updated to kineticjs 5.1 (latest release up to date)
and improved / refactored most of the kineticjs files