working mac prototype

node: 0.8.21
chrome: 25.0.1364.99
firefox: 18&18&18&18&18&18&18&18&18&18&18&18&18&18&18&18&18&18&19