Better JS plugin