snippets for compile and link funcs
more config, mostly javascript stuff