if no aksharaurl, set to null in javascript