Added more complete javascript plugin