Can you help with Bitcoin block hashing algorithm ( PHP, C, Python, Javascript)? can you help with Bitcoin block hashing algorithm ( PHP, C, Python, Javascript) ?

I was working really hard to write block hashing algorithm in plain Javascript.
Unfortunately the developed Javascript code is not generating the correct hash.

Yesterday installed Python for Windows XP 32 and run Python hashing code
from
https://en.bitcoin.it/wiki/Block_hashing_algorithm

and run code to get the correct hash.

Python is very slow so I plan to test block hashing algorithm in C 
http://pastebin.com/bW3fQA2a

in PHP and modify my Javascript code to generate the correct hash.

Next step is to download hashed blocks from Blockchain via getJason API
to verify every nonce generated for the blocks hashed in the past.

Can you help or join me ?
for a sample Bitcoin hashing in JS you could have a look at this:
https://github.com/KaSt/Jilaku
It's a repo I first forked and then modified to have a "web miner" on top of GAE.
I started the thing as a toy and then dropped the idea... Because...

Well, before the "because", I still don't know your actual purpose. In case it's to experiment and learn the basics of how a miner works... Then any language will do.

In case your aim is to produce a fully functional and efficient miner, then I'll continue with the "because".

I dropped the idea of developing a Javascript miner because there is no way that any interpreted code can be as fast as modern ways of mining, which include ASIC chips and the lot. Your computer will be running for ages, might find a good hash but by the time it found it, other miners might be 10 blocks ahead.
That Javascript miner achieves a few thousands hashes per second.
A single ASIC USB thingy will achieve 300 million hashes per second. 

In case your aim is actually to experiment, then that JS piece of code could be of help.

Have fun!