Clean javascript