JS & HTML Update

Added error message