added js costumization