Added better javascript plugin