Javascript added, but not working, also missing a {}???