Fixed unhandled null ref

if placement was passed as something other than a string, js exception
would have been thrown. also am no normalizing that option for cases that
are invalid