Python User Inputs Javascript Editor