Mostly polishing jquery loading and snippet saving