Removed JavaScript which is to be rewritten.

Change-Id: I778735884dda1a8fbfa6f1d13934d9a65acadcb9