added slim and guard. removed jquery