Fix code style errors

Move the datasets variable out of Constants section
Add missing semi-colons