How can I add preferences to the browser so it launches without javascript?
You can disable javascript directly from the browser. Steps:

Type About:config in url  
Click I'll be careful, I promise  
Search for javascript.enabled 
Right click -> Toggle 
Value = false
How can I disable javascript in firefox with selenium?