The Force-Atlas2 algorithm [1] has some benefits over the force layout implemented in d3.js, when you want to highlight the communities structure in the graph. A javascript implementation is found in the library sigma.js [2].
Other basic layouts are the circular and random ones [3].
Gephi [4] has a variety of graph algorithms, about 10.