fixed namespace issue. Wasn't properly delaying execution to dom ready.