forgot to remove unnecessary js code