Converted AmanulChowdhury to use require js