Javascript DOM Manipulation Library Template