Fixing a colon issue within object literal