resolved issue whilist parsing define({}), another sample from (r.js)
handling basic commands