Renamed color.js to colors.js

Renamed to have filename match defined object name
Updates to allow for AMD and non-AMD loading

window object exports added if AMD require/define are not used.