Changed code architecture
JS version to 1.5.1
neat code with comments
update to 1.5.1