Javascript Defined Or Not