Move AroundFunction and InsideFunction into generic plugin
Add initial javascript cuts