implementing owesomeJS