Replace slug with javascript version
Staring the move toward Node
Halfway there on the conversion to node