Added jquery lib and basic js funcs