home edited, javascript not working