js plugins all by myself