updating grunt file to better defaults
Minor bug fixes to allow better repeat behavior when included twice.