Fixed build issue order with Gruntfile; moved install tasks to separate grunt task.