removed bump plugin and added jscs to watch
fixed amd issue
added better function type checks and added more unit tests
verson bump and update comments