Implemented edit & answer questions - js script