changed particle code style to match more of the project

use semicolons
declare one var at a time
etc.