added top js back in