Partial removing jQuery dependency