Add sniff samples
Add more trig functions to JS
Tweak layout of non-ACE JS UI