Add common JavaScript statements