Updated init to access other JavaScript changes.