cleanup
refactor colobox code in to the compiled js payload