clean javascript