Remove semicolon from inside object literal