Javascript Short-Hand IF Within Object Notation